#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Experimental.Credit
{
    /// <summary> 
	/// ! Simple Recovery Rate model returning the constant value of the quote independently of the date and the seniority.
	/// </summary>
    [Guid ("7827ED39-33D0-4c40-83AB-2F3E7DDFA9FB"),ComVisible(true)]
	public interface IConstantRecoveryModel : Cephei.QL.Experimental.Credit.IRecoveryRateModel
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Boolean AppliesToSeniority(QL.Experimental.Credit.SeniorityEnum prm1);
        /// <summary> 
		/// 
		/// </summary>
		 IConstantRecoveryModel Update {get;}
    }   

    /// <summary> 
	/// ! Simple Recovery Rate model returning the constant value of the quote independently of the date and the seniority. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IConstantRecoveryModel_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IConstantRecoveryModel Create (Double recovery, Microsoft.FSharp.Core.FSharpOption<QL.Experimental.Credit.SeniorityEnum> sen);
    }
}

